package com.frost.aop.proxy;

import java.lang.reflect.Proxy;

public class Main {
    public static void main(String[] args) {
        // 静态代理
        HouseSubject houseSubject = new HouseProxy(new RealHouseSubject());
        houseSubject.rentHouse();

    }
}
